<form id="pagerForm" method="post" action="{:url('Warning/index')}">
	<input type="hidden" name="license_type" value="{$license_type|default=''}">
	<input type="hidden" name="user_name" value="{$user_name|default=''}">
	<input type="hidden" name="pageNum" value="{$page|default=''}"/>
	<input type="hidden" name="numPerPage" value="{$page_size|default=''}"/>
	<input type="hidden" name="order_sn" value="{$order_sn|default=''}"/>
	<input type="hidden" name="mobile" value="{$mobile}"/>
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="{:url('Warning/index')}" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>车辆类型:</td>
					<td>
						<select class="combox" name="license_type">
							<option value="" {if condition="$license_type eq ''"}selected="selected"{/if}>全部</option>
                            {volist name="vehicle" id="item"}
                            <option value="{$item.id}" {if condition="$license_type eq $item.id"}selected="selected"{/if}>{$item.title}</option>
                            {/volist}
						</select>
					</td>
					<td>所有人姓名:</td>
					<td><input name="user_name" size="25" type="text" value="{$user_name}"/></td>
					<td>联系电话:</td>
					<td><input name="mobile" size="25" type="text" value="{$mobile}"/></td>
					<td>订单编号：</td>
					<td><input name="order_sn" size="25" type="text" value="{$order_sn}"/></td>
				</tr>
			</table>
			<div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">检索</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<table class="table" width="100%" layoutH="107">
		<thead>
			<tr>
				<th width="15%">订单编号</th>
				<th width="6%">号牌号码</th>
				<th width="9%">车辆类型</th>
				<th width="8%">所有人姓名</th>
				<th width="9%">联系电话</th>
				<th width="9%">使用性质</th>
				<th width="9%">品牌型号</th>
				<th width="11%">车辆识别代号</th>
				<th width="10%">发动机号码</th>
				<th width="9%">上次检车时间</th>
				<th width="5%">操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="val" key="i"}
			<tr>
				<td class="o-num"> {$val.order_id|get_value='order','order_id','order_sn','1'}</td>
				<td >{$val.license_number}</td>
				<td >{$val.license_type|get_license_type}</td>
				<td >{$val.user_name}</td>
				<td >{$val.mobile}</td>
				<td >{$val.license_nature}</td>
				<td >{$val.vehicle_brand}</td>
				<td >{$val.vehicle_identification}</td>
				<td >{$val.engine_identification}</td>
				<td >{$val.order_id|get_value='order','order_id','update_time','1'|date='Y-m-d',###}</td>
				<td class="oper">
					<a rel="order_see" class="adeditd" href="{:url('Sqd/detail')}?id={$val.id}" target='navTab' title="详情" mask="true" style="color:#000;">查看</a>
<!--					{if condition="$val.admin_note eq '' "}
					<a rel="order_cl" class="adeditd" href="{:url('Warning/cl')}?order_id={$val.order_id}" target='navTab' title="处理" mask="true" style="color:#000;">处理</a>
					{/if}-->
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>共{$count}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$count}" numPerPage="{$numPerPage}" pageNumShown="10"
		currentPage="{$pageNum}"></div>
	</div>
</div>